home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d1
/
basictut.arc
/
INTEREST.BAS
(
.txt
)
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
GW-BASIC
|
1989-01-07
|
215 b
|
6 lines
10 INPUT "Enter the amount of principle.",PRIN
20 INPUT "What is the interest rate (use decimal, omit leading 0's)";RATE
30 INTEREST=PRIN*RATE
35 LET INTEREST=INTEREST/100
40 PRINT "$";INTEREST;"on $";PRIN;"at";RATE;"%"